import static org.junit.Assert.*;

import java.util.ArrayList;

import org.junit.Test;


public class ServerTest {

	@Test
	public void DeckTest() {
		ArrayList<Card> D = new ArrayList<Card>();
		D = Server.Deck();
		int expected = 52;
		int result = D.size();
		
		assertEquals("Deck does not contain 52 cards!" ,expected,result);
		
		for(int i=0;i<=D.size()-1;i++)
			System.out.println("Card: "+ D.get(i).CardColour() + " " + D.get(i).CardFigure());
		
	}

}
